<?php
namespace Admin\Controller;
use Think\Controller;
class GoodsController extends CommonController {
    public function lists(){

         // var_dump($this->Model);die;
        $list = $this->Model->relation(true)->select();


        print_r($list);die;
        // $this->assign('list',$list);// 赋值数据集
        // $this->assign('page',$show);// 赋值分页输出
        $this->display(); // 输出模板
    }
    
   
}